#ifndef FRONTEND_UTILS_H
#define FRONTEND_UTILS_H


// pixel coordinate
struct Point
{
	int x, y;

	Point(int xx, int yy) : x(xx), y(yy) {}
	Point() : x(0), y(0) {}

	// add some basic operations here: +, -, ==, etc.
};

struct Size
{
	unsigned int width, height;

	Size(unsigned int w, unsigned int h) : width(w), height(h) {}
	Size() : width(0), height(0) {}
};

// need some helper functions to convert between these guys and SDL_Rect



#endif // FRONTEND_UTILS_H